

public class Cat extends Animal {

    @Override
    public void cry() {
        System.out.println("猫咪叫");
    }
    @Override
    public String getAnimalName() {
        return "cat";
    }
}